﻿using DataBroker.Criteria;
using NUnit.Framework;
using DataBroker.Dal;
using ScottDAO;

namespace D2BkTest
{
    [TestFixture]
    public class OracleTest
    {
        [SetUp]
        public void SetUp()
        {
            D2Bk.ChangeDatabase("Employee");
        }
        [Test]
        public void SelectFromEmp()
        {
            var emp = D2Bk.Fetch(new Filter(), new EMP());
        }
        [Test]
        public void JoinEmpWithDept()
        {
            var emp = D2Bk.Fetch(new Filter(), new EMP(new DEPT()));
        }
    }
}
